// 数据分析相关接口
import request from '@/utils/request.js'

// 1. 累计注册用户, 昨日新增用户, 发布游记数量, 今日发布游记
export const getAnalysisApi = () => {
  return request.get('/userAnalysis')
}

// 2. 用户性别占比
export const getGenderRatioApi = () => {
  return request.get('/getGenderRatio')
}

// 3. 八大最感兴趣旅游城市排名
export const getCityOfInterestApi = () => {
  return request.get('/cityOfInterest')
}

// 4. 词云图
export const getWordCloudApi = () => {
  return request.get('/wordCloud')
}

// 5. 热门城市
export const getHotCityApi = () => {
  return request.get('/hot-city')
}
